package fun.codedesign.yinxue.code.php2java.rule.word;

public class ThisWordRule implements WordRule {

    @Override
    public boolean isMatch(String originWord) {
        return originWord.equals("$this");
    }

    @Override
    public String invoke(String originWord) {
        return originWord.replace("$","");
    }
}
